Learn about browser compatibility css code for firefox, we have the largest and most updated browser compatibility css code for firefox information on alibabacloud.com
When designing a website, you should pay attention to CSS style compatibility with different browsers. Especially for networks that fully use Div CSS design, you should pay more attention to IE6 IE7 FF's compatibility with CSS styles. Otherwise,
1.firefox cannot support innertext.Firefox supports innerHTML but does not support innertext, it supports textcontent to implement innertext, but it also retains the extra space by default. If you do not need to textcontent, if the string contains
JavaScript compatibility has long been a major problem for Web developers. The differences between formal norms, factual standards and various implementations make many developers suffer day and night. To this end, mainly from the following aspects
Transferred from: http://homepage.yesky.com/185/11484185all.shtml#p11484185CSS Compatibility Common tips (1) More exciting related articles recommended:Browser CSS3 and HTML5 compatible quick check tableIE6/IE7/IE8 Three versions of the CSS
All browsersHeight: 100px; Dedicated for IE6_ Height: 100px; Dedicated for IE6* Height: 100px; Dedicated for IE7* + Height: 100px; Share IE7 and FFHeight: 100px! Important;I. CSS compatibilityThe following two methods can solve almost all of
1.DOCTYPE Impact CSS Processing2.ff:div set Margin-left, Margin-right is auto when the center, IE No3.ff:body when setting text-align, Div needs to set Margin:auto (mainly margin-left,margin-right) to center4.FF: After setting padding, Div will
IE6, IE7:
Display: inline;
IE is not compatible with Firefox! ImpOrtant
CSS hack: differentiate IE6, IE7, and firefoxDifference between different browsers, CSS hack writing:Difference between IE6 and FF: Backgroundrange; * background:
CSSPairBrowserThe compatibility is sometimes a headache. when you understand the skills and principles, you may feel that it is not difficult to collect IE7 from the Internet, 6. Solve the problem of compatibility with fireofx and sort it out. for
1.IE8 compatibility issues, this best deal, converted into IE7 compatible can be. Add the following piece of code to the head, and then as long as it is compatible under IE7, IE8 below is also compatible2.flaot floating caused IE6 double margin
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.